setStyleLayerProperty

abstract fun setStyleLayerProperty(@NonNull() layerId: String, @NonNull() property: String, @NonNull() value: Value): Expected<String, None>

Sets a value to a style layer property.

Return

A string describing an error if the operation was not successful, empty otherwise.

Parameters

layerId

A style layer identifier.

property

The style layer property name.

value

The style layer property value.